package org.wxd.account.bootstrap;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Description:
 * @Copyright: Copyright 2012 ShenZhen DSE Corporation
 * @Company: 深圳市东深电子股份有限公司
 * @Author : wangxd
 * @Date: 2015-11-5
 * @Version 1.0
 */
public class UserServeBootstrap {
    public static ClassPathXmlApplicationContext applicationContext;

    public static void start() {
        applicationContext = new ClassPathXmlApplicationContext(new String[]{"META-INF/application.xml"});
        applicationContext.start();
    }

    public static void main(String[] args) throws Exception{
        UserServeBootstrap.start();
        System.out.println("email serve start......");
        System.in.read();
    }

    private UserServeBootstrap(){}
}
